﻿using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Camc.Quality.Inspection
{
    public class UploadPicture : FullAuditedEntity<Guid>
    {
        /// <summary>
        /// 业务ID
        /// </summary>
        public Guid BusinessId { get; set; }
        /// <summary>
        /// 组织
        /// </summary>
        public Organizations Organization { get; set; }
        /// <summary>
        /// 分组
        /// </summary>
        public Groups Group { get; set; }
        /// <summary>
        /// 文件名称：文件上传的原始名称
        /// </summary>
        public string FileName { get; set; }
        /// <summary>
        /// 配置的文件保存路径+guid生成的文件名+文件的原始后缀
        /// </summary>
        public string FileUrl { get; set; }
        public long Size { get; set; }

    }
    public enum Organizations
    {
        默认 = 1,
    }
    public enum Groups
    {
        异常管理 = 1,
    }
}
